package com.itheima.test0905.test61;

public abstract class person {
    private String id;
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public person(String id, String name, String age) {

        this.id = id;
        this.name = name;
        this.age = age;
    }

    public person() {

    }

    private String age;

    //通知
    public void notice(){
        System.out.println("通知：");
        body();
        System.out.println("环球必胜科技有限公司");
    }

    public abstract void body();
}
